package com.youpai.platform.wallet.web.entity.dto;

import com.youpai.platform.wallet.service.enums.ChangeCoinTypeEnums;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @date: 2023/2/18
 * @author: Welles
 * @version: 1.0
 * @description: 添加coin请求参数
 */
@Data
@Accessors(chain = true)
public class ChangeCoinReq {

    /**
     * uid
     */
    private Long uid;

    /**
     * 数量大于0增加，小于0扣减
     */
    private Long changeCoinNumber;

    /**
     * 单号，幂等
     */
    private Long orderId;

    /**
     * {@link ChangeCoinTypeEnums}
     */
    private Integer changeCoinType;

    /**
     * 修改原因
     */
    private String source;
}
